package com.example.springbootdemo.app.service;

import com.example.springbootdemo.api.DTO.GetScoreDTO;
import com.example.springbootdemo.domin.VO.getScoreVO;
import com.example.springbootdemo.domin.entity.Sc;

import java.util.List;

public interface ScService {
    String getScoreByTnoOrCno(GetScoreDTO getScoreDTO);

    List<getScoreVO> getScore(Integer sno);

    void updateScore(Sc sc);

    void addScore(Sc sc);

    void deleteScore(GetScoreDTO getScoreDTO);

    List<Sc> getAll();

    void delete(Integer scoreno);

    Sc getById(Integer scoreno);

}
